import gconf
client = gconf.client_get_default()

changeSet = gconf.ChangeSet()

v1 = gconf.Value(gconf.VALUE_STRING)
v2 = gconf.Value(gconf.VALUE_STRING)

v1.set_string("a")
v2.set_string("b")

changeSet.unset("/apps/test/qwerty")
changeSet.unset("/apps/test/qwerty")

changeSet.set_list("/apps/test/qwerty", gconf.VALUE_STRING, [v1,v2])
changeSet.set("/apps/test/STRING", v1)

client.commit_change_set(changeSet, True)

